/*
 * =====================================================================================
 *
 *       Filename:  <content>.h
 *
 *    Description:  AVL tree node content as <content>.
 *
 *        Version:  1.0
 *        Created:  2017/02/13 11:20:13
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  Brook L. (), Brook_L@163.com
 *   Organization:  
 *
 * =====================================================================================
 */

#ifndef _<AVLNODECONTENT>_H_
#define _<AVLNODECONTENT>_H_

// <user: avl tree node content, must be defined by user>
typedef struct <avlNodeContent> {
    <content define>;
} <AvlNodeContent>;

// <user: typedef user defined AVL tree node content struct as universal struct, 
// must be modified by user>
typedef <AvlNodeContent> AvlNodeContent;

// <user: avl tree callback function, must be implemented by user>
int <contentCompare>(<AvlNodeContent> *content1, <AvlNodeContent> *content2);
void <contentInsertMatchProcess>(<AvlNodeContent> *content);
void <contentTravProcess>(<AvlNodeContent> *content);

#endif /* #ifnef _<AVLNODECONTENT>_H_ */
